home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d21 / dvglue10.arc / TVWAT.C < prev    next >
C/C++ Source or Header  |  1988-08-13  |  1KB  |  30 lines

  1. /*================================================*/
  2. /* TVWAT.C                                        */
  3. /*                                                */
  4. /* (c) Copyright 1988 Ralf Brown                  */
  5. /*     All Rights Reserved                        */
  6. /* May be freely copied for noncommercial use as  */
  7. /* long as this copyright notice is kept intact   */
  8. /* and any changes are indicated in the comment   */
  9. /* blocks for the functions                       */
  10. /*================================================*/
  11.  
  12. #include "tvapi.h"
  13.  
  14. /*================================================*/
  15. /* TVwin_gotoxy  move the cursor to given pos     */
  16. /*   Ralf Brown 6/10/88                           */
  17. /*================================================*/
  18.  
  19. void pascal TVwin_gotoxy(OBJECT win,int col,int row)
  20. {
  21.    PARMLIST2 p ;
  22.  
  23.    p.num_args = 2 ;
  24.    p.arg[0] = row ;
  25.    p.arg[1] = col ;
  26.    TVsendmsg(AT_MSG, win?TOS:ME, win, (PARMLIST *)&p) ;
  27. }
  28.  
  29. /* End of TVWAT.C */
  30.